<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Premium Series
Description: A three-column, fixed-width blog design.
Version    : 1.0
Released   : 20090303

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml">
{% if closeblog %}
Blog is under maintenance
{% else %}
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Premium Series by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="Premium Series" content="" />
<link href="http://localhost:8000/static/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- start header -->
<div id="header">
	<div id="logo">
		<h1><a href="#"><span> sarah's blog </a></h1>
	</div>
	<div id="menu">
		<ul id="main">
			<li><a>  </a></li>

			<li class="current_page_item"><a href="#">Homepage</a></li>
			<li><a href="#">Services</a></li>
			<li><a href="/aboutme.html">About Me</a></li>
			<li><a href="#">Settings</a></li>
		</ul>

	</div>
	
</div>
<!-- end header -->
<div id="wrapper">
	<!-- start page -->
	<div id="page">
		<div id="sidebar1" class="sidebar">
			<ul>
				<li>
					<h2>Recent Posts</h2>
					<ul>
						</br>
						{% for post in posts %}

						<h3>{{post.title}} </h3>

						<div class="post_body">
							 {{post.body|safe|linebreaks}}
						</div>
											
						<div class="post_meta">
							on {{post.created}}
						</div>
						</br></br>
						{%endfor%}
					</ul>
				</li>
				<li>
	
				</li>
				<li>
					<h2>Categories</h2>
					<ul>
						{% for category in categories %}
							<div class="category_title">
								 <li>{{category.category_title}}</li>
							</div>
						{% endfor %}
					</ul>
				</li>
				<li>
					<h2>Favorites</h2>
					<ul>
					{% for site in sites %}

					<div class="site_title">
						<li><a href ={{site.sites}}>{{site.sites}}</a></li>

					{%endfor%}
					</ul>
				</li>
			</ul>
		</div>
		<!-- start content -->
<h4>    Welcome To My Blog </h4>

{% block content %}

{% for post in posts %}

<h2>{{post.title}} </h2>

<div class="post_body">
	 {{post.body|safe|linebreaks}}
</div>

<div class="post_meta">
	on {{post.created}}
</div>

<div class="category_title">
	 {{post.category.category_title}}
</div>

<br/><br/>
{%endfor%}

{% endblock %}
		<!-- end content -->

		<!-- end sidebars -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end page -->
</div>
<div id="footer">
	<p class="copyright">&copy;&nbsp;&nbsp;2009 All Rights Reserved &nbsp;&bull;&nbsp; Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
	<p class="link"><a href="#">Privacy Policy</a>&nbsp;&#8226;&nbsp;<a href="#">Terms of Use</a></p>
</div>
</body>
{% endif %}
</html>
